.mainmenu{
z-index:100;
}

.mainmenu ul{
margin: 0;
padding: 0px;
list-style-type: none;
z-index:100;
}
/*Top level list items*/
.mainmenu ul li{
position: relative;
display: inline;
float: left;
z-index:100;
} 
/*Top level menu link items style*/
.mainmenu ul li a{
display: block;
padding:5px;
color:#666;
top:0;
text-decoration:none;
height:27px;
line-height:23px;
background-color:#1e3647;
z-index:100;
font-size:12px;
}
.mainmenu ul li a:hover
{
background-image:url(img/invert.png);
color:black;
text-decoration:none;
}

.mainmenu ul li a:visited
{
color:white;
text-decoration:none;
}

* html .mainmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
color:white;
}

* html .mainmenu ul li a:visited{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

.mainmenu ul li a:link, .mainmenu ul li a:visited{
color:white;
z-index:100;
}

/*1st sub level menu*/

.mainmenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
background-color:#1e3647;
z-index:100;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.mainmenu ul li ul li{
display: list-item;
float: none;
z-index:100;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.mainmenu ul li ul li ul{
top: 0;
z-index:100;
}
/* Sub level menu links style */
.mainmenu ul li ul li a{
width: 200px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
color:#666;
font-size:12px;
line-height:1;
height:inherit;
background-color:#1e3647;
z-index:100;
/*border-bottom:1px solid white;*/
}
.mainmenu ul li ul li a:hover{ /*sub menus hover style*/
background: #e06901;
color:white;
text-decoration:underline;
}
